package dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pojo.WlCommodity;
import pojo.WlCommodityExample;
import pojo.WlCommodityWithBLOBs;

public interface WlCommodityMapper {
    int countByExample(WlCommodityExample example);

    int deleteByExample(WlCommodityExample example);

    int deleteByPrimaryKey(String id);

    int insert(WlCommodityWithBLOBs record);

    int insertSelective(WlCommodityWithBLOBs record);

    List<WlCommodityWithBLOBs> selectByExampleWithBLOBs(WlCommodityExample example);

    List<WlCommodity> selectByExample(WlCommodityExample example);

    WlCommodityWithBLOBs selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") WlCommodityWithBLOBs record, @Param("example") WlCommodityExample example);

    int updateByExampleWithBLOBs(@Param("record") WlCommodityWithBLOBs record, @Param("example") WlCommodityExample example);

    int updateByExample(@Param("record") WlCommodity record, @Param("example") WlCommodityExample example);

    int updateByPrimaryKeySelective(WlCommodityWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(WlCommodityWithBLOBs record);

    int updateByPrimaryKey(WlCommodity record);
}